﻿#ifndef WIDGETLOGVIEW_H
#define WIDGETLOGVIEW_H

#include "Widget.h"
#include <QTextBrowser>
#include "Logger.h"
#include "PushButtonSystem.h"
class WidgetLogView : public Widget
{
    Q_OBJECT
public:
    explicit WidgetLogView(QWidget *parent = nullptr);

    virtual void resizeEvent(QResizeEvent *event);

    QTextBrowser* m_QTextBrowser;
    PushButtonSystem* m_buttonClear;
signals:

public slots:
    void on_printfLog(QString str , int type = LOGGER_TYPE_NORMAL);
    void on_buttonClearClick();
};

#endif // WIDGETLOGVIEW_H
